// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import VueLazyload from 'vue-lazyload'  //引入这个懒加载插件
import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';

import 'jquery'
import './assets/bootstrap/js/bootstrap.min.js'
import './assets/bootstrap/css/bootstrap.min.css'
import './assets/index.css'

// import './assets/mdbvue/bootstrap.css'
// import './assets/mdbvue/bootstrap.js'
// import './assets/mdbvue/mdb.css'
// import './assets/mdbvue/mdb.js'

import mdbvue from 'mdbvue'
//
// import 'mdbvue/css/bootstrap.css'
// import 'mdbvue/css/mdb.css'
//
// Vue.use(mdbvue);
// import 'bootstrap-css-only/css/bootstrap.min.css';
import 'mdbvue/build/css/mdb.css';



Vue.config.productionTip = false

// Vue.use(ElementUI);
// 或者添加VueLazyload 选项
Vue.use(VueLazyload, {
  loading: 'static/loading-svg/loading-bars.svg',
  try: 3 // default 1
})


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
